package com.lhd.app.config;

import java.util.HashMap;
import java.util.Map;

public class AppConfig {
    
    // 行为权重配置
    public static final Map<String, Double> BEHAVIOR_WEIGHTS = new HashMap<>();
    static {
        BEHAVIOR_WEIGHTS.put("buy", 5.0);
        BEHAVIOR_WEIGHTS.put("cart", 3.0);
        BEHAVIOR_WEIGHTS.put("favorite", 2.0);
        BEHAVIOR_WEIGHTS.put("browse", 1.0);
    }
    
    // 宠物类型阈值
    public static final double PET_TYPE_THRESHOLD = 10.0;
    
    // 年龄标签阈值
    public static final double AGE_STRONG_THRESHOLD = 20.0;
    public static final double AGE_WEAK_THRESHOLD = 10.0;
    
    // 时间衰减系数
    public static final double TIME_DECAY_FACTOR = 0.9;
    public static final int DECAY_PERIOD_DAYS = 30;
    
    // 输出路径
    public static final String OUTPUT_DIR = "data";
    public static final String PET_TYPE_OUTPUT = "data/pet_type_labels.csv";
    public static final String PET_AGE_OUTPUT = "data/pet_age_labels.csv";
    public static final String RAW_DATA_OUTPUT = "data/raw_user_behavior.csv";
}